﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Inventory.Infrastructure.Migrations
{
    public partial class _2025351928 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "CreatedTime",
                table: "Zonemanagement",
                newName: "Area");

            migrationBuilder.AlterColumn<int>(
                name: "Area",
                table: "Warehousemanagement",
                type: "int",
                nullable: false,
                oldClrType: typeof(float),
                oldType: "float");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Area",
                table: "Zonemanagement",
                newName: "CreatedTime");

            migrationBuilder.AlterColumn<float>(
                name: "Area",
                table: "Warehousemanagement",
                type: "float",
                nullable: false,
                oldClrType: typeof(int),
                oldType: "int");
        }
    }
}
